const index = [
  {
    path: '/index',
    title: '统计',
    icon: 'el-icon-sort',
    parentPath: '/index'
  }
]

// 首页管理
const brand = [
  {
    path: '/home/brand',
    title: '首页管理',
    icon: 'el-icon-news',
    parentPath: '/home'
  }
]


// 资信讯息管理
const advert = [
  {
    path: '/advert/list',
    title: '资讯信息管理',
    icon: 'el-icon-document',
    parentPath: '/advert'
  }
]

// 学院账号管理
const customer = [
  {
    path: '/customer/list',
    title: '学员管理',
    icon: 'el-icon-menu',
    parentPath: '/customer'
  }
]

//课程管理
const course = [
  {
    path: '/course',
    title: '课程管理',
    icon: 'el-icon-service',
    children: [
      {
        path: '/course/classify',
        title: '课程分类管理',
      },
      {
        path: '/course/course',
        title: '课程内容管理',
      }
    ]
  },
]

//服务商生态
const partner = [
  {
    path: '/partner',
    title: '品牌案例管理',
    icon: 'el-icon-service',
    children: [
      {
        path: '/partner/classify',
        title: '品牌案例分类',
      },
      {
        path: '/partner/news',
        title: '品牌案例内容',
      }
    ]
  },
]

// 等级规则管理
const grade = [
  {
    path: '/grade/list',
    title: '等级规则管理',
    icon: 'el-icon-star-on',
    parentPath: '/grade'
  }
]

// 版权声明管理
const statement = [
  {
    path: '/statement/list',
    title: '版权声明管理',
    icon: 'el-icon-edit',
    parentPath: '/statement'
  }
]

// QA管理
const qa = [
  {
    path: '/qa/list',
    title: 'QA管理',
    icon: 'el-icon-edit',
    parentPath: '/qa'
  }
]

// 管理员用户管理
const administrators = [
  {
    path: '/administrators/list',
    title: '管理员用户管理',
    icon: 'el-icon-view',
    requiresAuth: true,
    parentPath: '/administrators'
  }
]

//报表管理
const report =[
  {
    path: '/report',
    title: '报表管理',
    icon: 'el-icon-tickets',
    children: [
      {
        path: '/report/customer',
        title: '学习状况报表',
      },
      {
        path: '/report/course',
        title: '课程统计报表',
      }
    ]
  }
]

//系统配置管理
const system = [
  {
    path: '/system',
    title: '系统配置管理',
    icon: 'el-icon-setting',
    children: [
      {
        path: '/system/modify_password',
        title: '修改密码',
      },
      {
        path: '/system/user',
        title: '个人信息',
      }
    ]
  }
]

//链接管理
const link =[
  {
    path: '/link',
    title: '链接管理',
    icon: 'el-icon-service',
    children: [
      {
        path: '/link/blogroll',
        title: '友链管理',
      },
      {
        path: '/link/internalLink',
        title: '内链管理',
      }
    ]
  }
]

//聚合管理
const aggregate =[
  {
    path: '/aggregate',
    title: '聚合页面管理',
    icon: 'el-icon-service',
    // requiresAuth: true,
    parentPath: '/aggregate'
  }
]

export default [
  ...advert,
  ...customer,
  ...course,
  ...partner,
  ...grade,
  ...brand,
  ...link,
  ...aggregate,
  ...statement,
  ...qa,
  ...administrators,
  ...report,
  ...index,
  ...system
]